home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmTextGetTopCharacter.z / XmTextGetTopCharacter
Text File  |  1998-10-30  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr - A Text function that accesses the
  10.           position of the first character displayed
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/Text.h>
  14.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt);
  16.  
  17.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  18.           This page documents Motif 2.1.
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.           XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr accesses the position of the text at
  22.           the top of the Text widget.  If there is no text in the Text
  23.           widget (in other words, XXXXmmmmNNNNvvvvaaaalllluuuueeee contains an empty string),
  24.           then XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr returns 0.
  25.  
  26.           Suppose that the XXXXmmmmNNNNttttooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr resource has been set to a
  27.           value greater than the number of characters in the text
  28.           widget. In this case, XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttTTTTooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr returns an
  29.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn value identifying the position of the first
  30.           character in the last line of text in a multiline case;
  31.           otherwise, it identifies the position of the last character
  32.           in the line.
  33.  
  34.           _w_i_d_g_e_t    Specifies the Text widget ID
  35.  
  36.           For a complete definition of Text and its associated
  37.           resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
  38.  
  39.      RRRREEEETTTTUUUURRRRNNNN
  40.           Returns an XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn value that indicates the state of
  41.           the XXXXmmmmNNNNttttooooppppCCCChhhhaaaarrrraaaacccctttteeeerrrr resource. This is an integer number of
  42.           characters from the beginning of the text buffer. The first
  43.           character position is 0 (zero).
  44.  
  45.      RRRREEEELLLLAAAATTTTEEEEDDDD
  46.           XXXXmmmmTTTTeeeexxxxtttt(3).
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.